Neural network using matlab Thesis